html {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    min-height: 50px; //为什么要用min-height ?
    background-color: rgb(255, 132, 29);
    position: relative;
    .left {
        position: absolute;
        top: 30%;
        left: 4%;
        width: 140px;
        height: 20px;
    }
    .right {
        position: absolute;
        top: 20%;
        right: 4%;
        width: 30px;
        height: 30px;
    }
}

.view {
    flex: 1;
    // background-color: #ccc;
    .search {
        display: flex;
        height: 10%; // position: relative;
        padding: 10px;
        input {
            flex: 1;
            background-color: rgb(241, 241, 241);
            border-radius: 50px;
            margin-right: 5px;
            padding-left: 20px;
        }
        button {
            width: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 20px;
            color: #fff;
            background-color: rgb(255, 132, 29);
            font-size: 16px;
        }
    } 
    .list{
        
        .title{
            font-size: 18px;
            padding: 0px 20px;
        }
        .picture{
            width: 180px;
            height: 180px;
            margin: 0 auto;
            padding-bottom: 20px;            
        }
        .info{
            display: flex;
            text-align: center;
            line-height: 30px;
            border: 1px solid #ccc;
            color: white;
            .info1{
                flex: 1;
                background-color: rgb(255, 156, 27);
            }
            .info2{
                flex: 1;
                border-left: 1px solid #ccc;
                background-color: rgb(255, 195, 32);
            }
            .info3{
                flex: 1;
                border-left: 1px solid #CCC;
                background-color: rgb(255, 195, 32);
            }
        }
        .comefrom{
            padding: 10px 0;
        }
        .tips{
            border-top: 1px solid #ccc;
            border-bottom: 1px solid #ccc;
            padding: 2px 10px;
            color: rgb(170, 170, 170);
        }
        .pingjia{
            text-align: center;
            padding: 5px 0;
            background-color: rgb(219, 219, 219);
        }
        .pingjiacontent{
            padding: 5px;
            position: relative;
            .name{
                color: rgb(172, 172, 172);
                padding: 10px 0;
            }
            .time{
                position: absolute;
                right: 5px;
                color: rgb(172, 172, 172);
                padding: 10px 0;
            }
            .buyfor{
                text-align: right;
                color: rgb(172, 172, 172);
                padding: 10px 0;
            }
            .content{
                padding: 10px 0;
            }
        }
    }

    .foot {
        margin-top: 20px;
        .foot_up {
            display: flex;
            a {
                width: 33.33%;
                height: 30px;
                display: flex;
                justify-content: center;
                align-items: center;
                border: 1px solid rgb(237, 237, 237); // img{
                //     width: 15px;
                //     height: 15px; 
                // }
            }
        }
        .foot_down {
            height: 60px;
            text-align: center;
            font-size: 12px;
            padding: 20px;
            color: rgb(170, 170, 170);
            border: 1px solid rgb(241, 241, 241);
            a {
                display: inline-block;
            }
            a:first-child {
                color: red;
            }
            a:nth-child(2) {
                color: black;
            }
        }
    }
}